package com.eshop.modules.mp.service.dto;

import java.io.Serializable;

public class WechatReplyDto implements Serializable
{
    private Integer id;
    private String key;
    private String type;
    private String data;
    private Integer status;
    private Integer hide;
    
    public Integer getId() {
        return this.id;
    }
    
    public String getKey() {
        return this.key;
    }
    
    public String getType() {
        return this.type;
    }
    
    public String getData() {
        return this.data;
    }
    
    public Integer getStatus() {
        return this.status;
    }
    
    public Integer getHide() {
        return this.hide;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setKey(final String key) {
        this.key = key;
    }
    
    public void setType(final String type) {
        this.type = type;
    }
    
    public void setData(final String data) {
        this.data = data;
    }
    
    public void setStatus(final Integer status) {
        this.status = status;
    }
    
    public void setHide(final Integer hide) {
        this.hide = hide;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof WechatReplyDto)) {
            return false;
        }
        final WechatReplyDto other = (WechatReplyDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$status = this.getStatus();
        final Object other$status = other.getStatus();
        Label_0102: {
            if (this$status == null) {
                if (other$status == null) {
                    break Label_0102;
                }
            }
            else if (this$status.equals(other$status)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$hide = this.getHide();
        final Object other$hide = other.getHide();
        Label_0139: {
            if (this$hide == null) {
                if (other$hide == null) {
                    break Label_0139;
                }
            }
            else if (this$hide.equals(other$hide)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$key = this.getKey();
        final Object other$key = other.getKey();
        Label_0176: {
            if (this$key == null) {
                if (other$key == null) {
                    break Label_0176;
                }
            }
            else if (this$key.equals(other$key)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$type = this.getType();
        final Object other$type = other.getType();
        Label_0213: {
            if (this$type == null) {
                if (other$type == null) {
                    break Label_0213;
                }
            }
            else if (this$type.equals(other$type)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$data = this.getData();
        final Object other$data = other.getData();
        if (this$data == null) {
            if (other$data == null) {
                return true;
            }
        }
        else if (this$data.equals(other$data)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof WechatReplyDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $status = this.getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        final Object $hide = this.getHide();
        result = result * 59 + (($hide == null) ? 43 : $hide.hashCode());
        final Object $key = this.getKey();
        result = result * 59 + (($key == null) ? 43 : $key.hashCode());
        final Object $type = this.getType();
        result = result * 59 + (($type == null) ? 43 : $type.hashCode());
        final Object $data = this.getData();
        result = result * 59 + (($data == null) ? 43 : $data.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "WechatReplyDto(id=" + this.getId() + ", key=" + this.getKey() + ", type=" + this.getType() + ", data=" + this.getData() + ", status=" + this.getStatus() + ", hide=" + this.getHide() + ")";
    }
}
